package com.dao;


import com.bean.Goods;
import com.bean.Orders;
import com.bean.Seckill;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author Samsara
* @description 针对表【seckill_goods】的数据库操作Mapper
* @createDate 2023-02-09 13:37:34
* @Entity generator.domain.SeckillGoods
*/
public interface SeckillGoodsMapper{

    Long selectBySeckillIdAndGoodsId(@Param("seckill") Seckill seckill, @Param("goods") Goods goods);

    Integer insert(Long seckillId,Long goodsId);

    Integer deleteBatch(List<Long> seckillGoodsIdList);
}
